import request from '@/utils/request'
export default{
  //1.生成每日数据统计
  createStatistics(day){
    return request({
      url:'/eduStatistics/recordCountEveryDay/'+day,
      method:'get'
    })
  },
  //2.获取统计数据
     getDataSta(searchObj) {
         return request({
             url: `/eduStatistics/showData/${searchObj.type}/${searchObj.begin}/${searchObj.end}`,
             method: 'get'
           })
     }
}
